package com.snowwolf.snowmail.core;

import com.snowwolf.snowmail.core.attach.MailAttach;
import com.snowwolf.snowmail.core.sign.ISign;

import java.io.Serializable;
import java.util.List;

/**
 * Created by snowwolf-louis on 17/11/23.
 */
public class MailBean implements Serializable {
    private String to; // 收件人
    private String from; // 发件人
    private String host; // SMTP主机
    private Integer port;
    private String username; // 发件人的用户名
    private String password; // 发件人的密码
    private String subject; // 邮件主题
    private String content; // 邮件正文

    private List<MailAttach> mailAttaches;//附件

    private ISign isign;

    public String getTo() {
        return to;
    }

    public void setTo(String to) {
        this.to = to;
    }

    public String getFrom() {
        return from;
    }

    public void setFrom(String from) {
        this.from = from;
    }

    public String getHost() {
        return host;
    }

    public void setHost(String host) {
        this.host = host;
    }

    public Integer getPort() {
        return port;
    }

    public void setPort(Integer port) {
        this.port = port;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getSubject() {
        return subject;
    }

    public void setSubject(String subject) {
        this.subject = subject;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public List<MailAttach> getMailAttaches() {
        return mailAttaches;
    }

    public void setMailAttaches(List<MailAttach> mailAttaches) {
        this.mailAttaches = mailAttaches;
    }

    public ISign getIsign() {
        return isign;
    }

    public void setIsign(ISign isign) {
        this.isign = isign;
    }
}
